VERSION = 1.1.3.230220

DEFINES += QTE_VERSION_STR=\\\"$${VERSION}\\\"

QT += core

CONFIG += c++11
# QMAKE_CXXFLAGS += -std=c++20

QMAKE_CXXFLAGS += -fno-strict-aliasing
win32 {
	CONFIG += skip_target_version_ext
}

DEFINES += QT_DEPRECATED_WARNINGS

sourceDir  = $${PWD}/..
proRootDir = $${sourceDir}/..

binDir         = $${proRootDir}/bin
proIncludePath = $${proRootDir}/include

DESTDIR = $${OUT_PWD}/../../install/lib

includeInstallPath = $${DESTDIR}/../include

MOC_DIR = $${OUT_PWD}/obj/moc
UI_DIR  = $${OUT_PWD}/obj/ui
RCC_DIR = $${OUT_PWD}/obj/rcc

OBJECTS_DIR = $${OUT_PWD}/obj/object

INCLUDEPATH += $${proIncludePath}

win32 {
	sourceDir          = $$replace(sourceDir, /, \\)
	proRootDir         = $$replace(proRootDir, /, \\)
	binDir             = $$replace(binDir, /, \\)
	proIncludePath     = $$replace(proIncludePath, /, \\)
	includeInstallPath = $$replace(includeInstallPath, /, \\)

	DESTDIR     = $$replace(DESTDIR, /, \\)
	MOC_DIR     = $$replace(MOC_DIR, /, \\)
	UI_DIR      = $$replace(UI_DIR, /, \\)
	RCC_DIR     = $$replace(RCC_DIR, /, \\)
	OBJECTS_DIR = $$replace(OBJECTS_DIR, /, \\)
	INCLUDEPATH = $$replace(INCLUDEPATH, /, \\)
}
